﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using JM.JCY.Common;
using JM.JCY.DataAccess;
using JM.JCY.BusinessEntity;

namespace JM.JCY.BusinessComponent
{
    public class IncorruptBC : JCYBusinessComponentBase<IncorruptDA>
    {
        public IncorruptBC()
            : base(new IncorruptDA())
        {
        }

        //内部监督有关事项自查表（业务部门）
        public void UpdateSelfControlBusiness(IncorruptDataSet.T_SelfControl_BusinessDataTable dt)
        {
            this.DataAccess.UpdateSelfControlBusiness(dt);
        }

        public IncorruptDataSet.T_SelfControl_BusinessDataTable GetSelfControlBusiness(int Id, string filler)
        {
            return this.DataAccess.GetSelfControlBusiness(Id, filler);
        }

        //内部监督有关事项自查表（综合部门）
        public void UpdateSelfControlOverall(IncorruptDataSet.T_SelfControl_OverallDataTable dt)
        {
            this.DataAccess.UpdateSelfControlOverall(dt);
        }

        public IncorruptDataSet.T_SelfControl_OverallDataTable GetSelfControlOverall(int Id, string filler)
        {
            return this.DataAccess.GetSelfControlOverall(Id, filler);
        }

        //个人重大事项报告表
        public void UpdatePersonImportantReport(IncorruptDataSet.T_PersonImportantReportDataTable dt)
        {
            this.DataAccess.UpdatePersonImportantReport(dt);
        }

        public IncorruptDataSet.T_PersonImportantReportDataTable GetPersonImportantReport(int Id, string reporter)
        {
            return this.DataAccess.GetPersonImportantReport(Id, reporter);
        }

        //党员干部举办婚丧喜庆宴席审批表
        public void UpdateStaffWeddingApproval(IncorruptDataSet.T_StaffWedding_ApprovalDataTable dt)
        {
            this.DataAccess.UpdateStaffWeddingApproval(dt);
        }

        public IncorruptDataSet.T_StaffWedding_ApprovalDataTable GetStaffWeddingApproval(int Id, string applicant)
        {
            return this.DataAccess.GetStaffWeddingApproval(Id, applicant);
        }

        //福建省检察机关领导干部遵守《廉政准则》和《廉洁从检若干规定》对照检查表
        public void UpdateLianZhengLianJieCheck(IncorruptDataSet.T_LianZhengLianjieCheckDataTable dt)
        {
            this.DataAccess.UpdateLianZhengLianJieCheck(dt);
        }

        public IncorruptDataSet.T_LianZhengLianjieCheckDataTable GetLianZhengLianJieCheck(int Id, string signBy)
        {
            return this.DataAccess.GetLianZhengLianJieCheck(Id, signBy);

        }

        //检风检纪记录情况
        public void UpdateJianFengJianJi(IncorruptDataSet.T_JianFengJianJiDataTable dt)
        {
            this.DataAccess.UpdateJianFengJianJi(dt);
        }

        public IncorruptDataSet.T_JianFengJianJiDataTable GetJianFengJianJi(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            return this.DataAccess.GetJianFengJianJi(Id, number, startDate, endDate, name);
        }

        //检务督察记录情况
        public void UpdateJianWuDuCha(IncorruptDataSet.T_JianWuDuChaDataTable dt)
        {
            this.DataAccess.UpdateJianWuDuCha(dt);
        }

        public IncorruptDataSet.T_JianWuDuChaDataTable GetJianWuDuCha(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            return this.DataAccess.GetJianWuDuCha(Id, number, startDate, endDate, name);
        }

        //违法违纪情况
        public void UpdateWeiFaWeiJi(IncorruptDataSet.T_WeiFaWeiJiDataTable dt)
        {
            this.DataAccess.UpdateWeiFaWeiJi(dt);
        }

        public IncorruptDataSet.T_WeiFaWeiJiDataTable GetWeiFaWeiJi(int Id, string number, DateTime? startDate, DateTime? endDate, string name)
        {
            return this.DataAccess.GetWeiFaWeiJi(Id, number, startDate, endDate, name);
        }

        //领导干部收入申报表
        public void UpdateLingDaoSalary(IncorruptDataSet.T_LingDaoSalaryDataTable dt)
        {
            this.DataAccess.UpdateLingDaoSalary(dt);
        }

        public IncorruptDataSet.T_LingDaoSalaryDataTable GetLingDaoSalary(int Id, string name)
        {
            return this.DataAccess.GetLingDaoSalary(Id, name);
        }

        //检察干警配偶子女从业情况申报登记表
        public void UpdateJianChaGanbuPeiOuCongYe(IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable dt)
        {
            this.DataAccess.UpdateJianChaGanbuPeiOuCongYe(dt);
        }

        public IncorruptDataSet.T_JianChaGanbuPeiOuCongYeDataTable GetJianChaGanbuPeiOuCongYe(int Id, string name)
        {
            return this.DataAccess.GetJianChaGanbuPeiOuCongYe(Id, name);
        }

        //领导干部党风廉政建设检查评议登记表
        public void UpdateLingDaoDangFengCheck(IncorruptDataSet.T_LingDaoDangFengCheckDataTable dt)
        {
            this.DataAccess.UpdateLingDaoDangFengCheck(dt);
        }

        public IncorruptDataSet.T_LingDaoDangFengCheckDataTable GetLingDaoDangFengCheck(int Id, string name)
        {
            return this.DataAccess.GetLingDaoDangFengCheck(Id, name);
        }
    }
}
